package misscl.online.slh_gym.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author theo
 * @since 2022/11/28 22:03
 */
@Getter
@Setter
@ApiModel(value = "Product对象", description = "")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品进价")
    @TableField("pur_price")
    private String purPrice;

    @ApiModelProperty("商品售价")
    @TableField("sell_price")
    private String sellPrice;

    @ApiModelProperty("商品库存")
    private Integer inventory;

    @ApiModelProperty("备注")
    private String remark;


}
